﻿using System;
using System.Collections.Generic;
using System.Text;
using AcesHigh.Properties;

namespace AcesHigh
{
    class CardImagePathBuilder
    {

        public static String getCardImagePath(Card card) 
        {
            String format = Resources.CardImageNameFormat;
            String path = Utility.getImagePath();
            return String.Format(format, path, card.Rank, card.Suit);
        }

        public static String getFaceDownCardImagePath()
        {
            String format = Resources.FaceDownCardImageNameFormat;
            String path = Utility.getImagePath();
            return String.Format(format, path);
        }
    }
}
